package entity;



public class ParkingLotWorker extends Worker
{
	private int parkingLotNum;
	
	public ParkingLotWorker(String workerID, String FirstName, String LastName, String Email, String password, int parkingLotNumber)
	{
		super(workerID, FirstName, LastName, Email, password , Role.parkingLotWorker);
		this.parkingLotNum=parkingLotNumber;
	}
	
	public boolean Validate(int parkingLotNumber)
	{
		if (parkingLotNumber<1 || parkingLotNumber>6)
			return false;
		return true;
	}
	
	public int getParkingLotNum() {
		return parkingLotNum;
	}
	
	public void setParkingLotNum(int parkingLotNum) {
	this.parkingLotNum = parkingLotNum;
	}

}
